home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
DOSUTILS
/
EXCHI3.DOC
< prev
next >
Wrap
Text File
|
1997-01-12
|
8KB
|
235 lines
******************************
SENDI3/RECVI3 v1.2
(DOS with MPU, SOUNDBLASTER)
send and receive korg i2/i3 dumps
by Guenter Nagler
1996
(gnagler@ihm.tu-graz.ac.at)
******************************
[1] BACKGROUND
KORG i2/i3 keyboards store can their data on 720KB floppy disks in
files with extensions
*.pcg program data (64 programs + 2 drum kits)
*.sty style data (4 styles)
*.arr arrangement data (64 programs)
*.sng song data (10 songs)
*.bsq backing sequence data (10 backing sequences)
I defined additional data files:
*.glb global data
*.dkt drumkit data
The keyboard supports data dump exchange via midi cable.
These utilities communicate with the keyboard and send and
request/receive such dumps.
send:
The sendi3 utility reads korg files and convert them to korg dumps and send
them to the keyboard. After sending the keyboard usually sends
back a reply (data load completed or data format error).
The sendi3 utility tries to catch these message.
receive:
The recvi3 utility listens to the keyboard and requests a dump. Then it
waits for reaction of the keyboard which should send the dump immediately.
The utility catches the dump decodes it and converts it into a korg file.
[2] FILES DESCRIPTION
SENDI3.EXE..........MSDOS executable for sending korg i3 files
RECVI3.EXE..........MSDOS executable for receiving korg i3 files
EXCHI3.DOC..........this file, showing usage of SENDI3.EXE and RECVI3.EXE
[3] COPYRIGHT
SENDI3 and RECVI3 (c) 1996 were created by Guenter Nagler.
SENDI3 and RECVI3 are free and may be used as you wish with this one exception:
You may NOT charge any fee or derive any profit for distribution
of SENDI3 and RECVI3. Thus, you may NOT sell or bundle SENDI3/RECVI3
with any product in a retail environment (shareware disk distribution,
CD-ROM, etc.) without permission of the author.
You may give SENDI3 and RECVI3 to your friends, upload it to a BBS, or ftp it to
another internet site, as long as you don't charge anything for it.
[4] DISCLAIMER
SENDI3 and RECVI3 were designed to read and write original KORG i3 files.
Communications are done using original Roland MPU-401 (tm) and
Creative Labs Soundblaster (tm) midi interfaces.
Use SENDI3 at your own risk. Anything you do with SENDI3 is your
responsibility, and not the author's. Any damage caused to any person,
computer, software, hardware, company, or business by running SENDI3
is your responsibility, and the author will not be liable.
If you don't understand these terms, or are not sure of something, or
are afraid something bad might come of using SENDI3, don't use it!
You are here forewarned.
[5] INSTALLATION
Simply copy SENDI3.EXE and RECVI3 into a directory that is in your path.
C:\> SENDI3
C:\> RECVI3 -h
you should get the usage text (see next section)
[6] USAGE
usage: sendi3 [-prog xxx] filename ...
files are korg i3 files (pcg, sty, arr, bsq, sng) or glb, drk
prog xxx send only program xxx of given pcg
pcg korg i3 programs
sty korg i3 styles
arr korg i3 arrangements
bsq korg i3 backing sequences
sng korg i3 songs
glb korg i3 global settings
drk korg i3 drumkit parameters
dos wildcards (*, ?) can be used
usage: recvi3 [-identify] [filename]
-identify request identification of KORG i3 keyboard
filename should have extension *,PCG,STY,ARR,SNG,BSQ,GLB,DKT
When no filename specified then dump must be sent manually
Important:
To exchange data dumps with the keyboard the keyboard must be turned on
and global data parameter EXCL set to ON.
Important:
This program works only with a MPU-401 or Soundblaster compatible
midi interface. For soundblaster cards the environment variable BLASTER
must be set to select the correct soundcard port number (A220,A240,A260,A280).
The MPU midi port must be 300 or 330 or specified in the environment variable
MPU (hexadezimal port number).
e.g.
set BLASTER=A240 I5 D0 H5 P300 T6
set MPU=210
Warning:
sendi3 will change most settings of the keyboard.
Backup your current settings to a floppy disk (Disk - Save all data),
so that you can restore this state.
Warning:
korg i3 data dumps do not allow to receive all parameters that are
stored in an original PCG file (e.g. Protect Program, EXCL ON/OFF, ...)
recvi3 will save a PCG that contains only program data.
This should not be a big disadvantage because usually the missing settings
are set manually only once and should stay forever.
[7] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
WWW: http://hgiicm.tu-graz.ac.at/Cpub
contains all my dos/unix midi programs
EMAIL: gnagler@ihm.tu-graz.ac.at
[8] EXAMPLES
First backup your current keyboard settings manually to a floppy disk!
Ask KORG i2/i3 to identify itself:
C:\> recvi3 -identify
KORG responded
15 bytes received: identification: F0 7E 00 06 02 42 39 00 00 00 17 00 01 00 F7
Manufacturer id: 42 Korg
Family code: 39h i2/i3
Member code: 00h i3
ROM No: 00h (0)
Software Version: 17h (23)
Get all current settings (all that Korg i2/i3 can send through dump):
C:\> recvi3 backup.*
KORG responded
requesting dump from KORG
saved global data to BACKUP.GLB
saved drumkit data to BACKUP.DKT
saved program data to BACKUP.PRG
saved style data to BACKUP.STY
saved arrangement data to BACKUP.ARR
saved backing sequence data to BACKUP.BSQ
saved song sequence data to BACKUP.BSQ
Receive an "all program dump" that will be sent manually from the keyboard:
C:\> recvi3 manually
KORG responded.
Waiting for receiving KORG dumps. Abort with <esc>
7 bytes received: mode changed to GLOBAL
11 bytes received: drumkit parameter changed in Dr1 Param 0 to Value 0
11 bytes received: drumkit parameter changed in Dr2 Param 0 to Value 0
12377 bytes received: all program data dump
saved program data to MANUALLY.PRG
This will save all dumps sent manually and shows all EXCL messages sent by
the keyboard.
Load a full KORG environment:
C:\> sendi3 macarena.*
KORG responded
file MACARENA.TXT ignored
sending MACARENA.PCG to KORG ...
korg answered: data load completed
sending MACARENA.STY to KORG ...
korg answered: data load completed
sending MACARENA.ARR to KORG ...
korg answered: data load completed
sending MACARENA.BSQ to KORG ...
korg answered: data load completed
set new programs only
C:\> sendi3 8_beat.pcg
KORG responded
sending 8_BEAT.PCG to KORG ...
korg answered: data load completed
Hint: The programs will be available at Program Bank D and drumkits
at user drumkits Drum7 and Drum8
More than one file per type cannot be sent:
C:\> sendi3 8*.*
cannot send more than one arrangement data file (80THGOLD.ARR,8_BEAT.ARR)
Send single program and save it in a certain user program
goto program mode and select a user program place that will be used
Hint: The program place will be used temporarily and will not be saved
automatically. You can use any place to test a program and save it with
Write Program Key.
Use findi3 to find the program wanted (*.pcg).
You need the pcg filename and program place (D11-D88,Dr7,Dr8) or program name.
C:> findi3 mini
DoubleMini D37 PRELOAD.PCG
C:\> sendi3 -prog D37 preload.pcg
or
C:\> sendi3 -prog doublemini preload.pcg
Hint: If the program name contains spaces or other not DOS compatible characters
then use the program place instead or use "..."
The program will change to program edit mode and transfer the program.
You can play it immediately after successful notification.
The program will be forgotten if any other program is selected.
Use Write Program Key or Write Program function (edit program/utility)
to save the program.
[9] CHANGES
v1.0 to v1.1:
* allow MPU port other than 300 or 330 (environment variable MPU)
v1.1 to v1.2:
* better MPU support
* option -prog in sendi3 to send single programs